package com.bj58.mis.apm.server.kylinreceive.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name="kylin_model")
public class KylinModel implements Serializable {

  @Id
  private String id;
  private Date lastModified;
  private String version;
  private String name;
  private String owner;
  private Boolean isDraft;
  private String description;
  private String factTable;
  private String lookups;
  private String capacity;
  private String metrics;
  private String dimensions;
  private String filterCondition;
  private String partitionDesc;
  private String projectId;
  private Boolean isDelete;
  private Date deleteTime;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public Date getLastModified() {
    return lastModified;
  }

  public void setLastModified(Date lastModified) {
    this.lastModified = lastModified;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getOwner() {
    return owner;
  }

  public void setOwner(String owner) {
    this.owner = owner;
  }

  public Boolean getDraft() {
    return isDraft;
  }

  public void setDraft(Boolean draft) {
    isDraft = draft;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public String getFactTable() {
    return factTable;
  }

  public void setFactTable(String factTable) {
    this.factTable = factTable;
  }

  public String getCapacity() {
    return capacity;
  }

  public void setCapacity(String capacity) {
    this.capacity = capacity;
  }

  public String getMetrics() {
    return metrics;
  }

  public void setMetrics(String metrics) {
    this.metrics = metrics;
  }

  public String getDimensions() {
    return dimensions;
  }

  public void setDimensions(String dimensions) {
    this.dimensions = dimensions;
  }

  public String getFilterCondition() {
    return filterCondition;
  }

  public void setFilterCondition(String filterCondition) {
    this.filterCondition = filterCondition;
  }

  public String getPartitionDesc() {
    return partitionDesc;
  }

  public void setPartitionDesc(String partitionDesc) {
    this.partitionDesc = partitionDesc;
  }

  public String getProjectId() {
    return projectId;
  }

  public void setProjectId(String projectId) {
    this.projectId = projectId;
  }

  public Boolean getDelete() {
    return isDelete;
  }

  public void setDelete(Boolean delete) {
    isDelete = delete;
  }

  public Date getDeleteTime() {
    return deleteTime;
  }

  public void setDeleteTime(Date deleteTime) {
    this.deleteTime = deleteTime;
  }

  public String getLookups() {
    return lookups;
  }

  public void setLookups(String lookups) {
    this.lookups = lookups;
  }
}
